package com.demo.hello;

public class GreetToUserImpl implements GreetToUser {
    private final String user;

    public GreetToUserImpl(String user) {
        this.user = user;
    }
    @Override
    public String greet() {
        return "Hi, "+user;
    }
}
